<template>
  <div id="app">
    <div v-if="isShow"><van-skeleton title :row="6" /></div>
    <router-view v-slot="{ Component }" v-else>
      <keep-alive>
        <component :is="Component" />
      </keep-alive>
    </router-view>
  </div>
</template>

<script setup>

import { ref } from 'vue'

let isShow = ref(true)

setTimeout(() => {
  isShow.value = false
}, 500)

</script>

<style lang="scss" scoped></style>